////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   ERROR_MSG_LABEL
// AUTHOR           :   Victor Zheng 
// DATE CREATE      :   2006/01/12
// DESCRIPTION      :   a CRITERIA file for the function, ERROR_MSG_LABEL
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/01/12   Victor Zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.admin.errorMsg.criteria;

import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Victor Zheng 
* @version 1.0     2006/01/12
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class ErrorMsgLabelSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_ERROR_MSG_LABEL)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchStatus;                       //DB Column Name: STATUS
	private String srchGroupIdFr;                    //DB Column Name: GROUP_ID
	private String srchGroupIdTo;                    //DB Column Name: GROUP_ID
	private String srchMenuIdFr;                     //DB Column Name: MENU_ID
	private String srchMenuIdTo;                     //DB Column Name: MENU_ID
	private String srchObjectIdFr;                   //DB Column Name: OBJECT_ID
	private String srchObjectIdTo;                   //DB Column Name: OBJECT_ID
	private String srchLangCodeFr;                   //DB Column Name: LANG_CODE
	private String srchLangCodeTo;                   //DB Column Name: LANG_CODE
	private String srchObjectNameFr;                 //DB Column Name: OBJECT_NAME
	private String srchObjectNameTo;                 //DB Column Name: OBJECT_NAME
	private String srchObjectTypeFr;                 //DB Column Name: OBJECT_TYPE
	private String srchObjectTypeTo;                 //DB Column Name: OBJECT_TYPE
	private String srchObjectWebLabelFr;             //DB Column Name: OBJECT_WEB_LABEL
	private String srchObjectWebLabelTo;             //DB Column Name: OBJECT_WEB_LABEL

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor Zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchGroupIdFr = " + this.srchGroupIdFr
			+ "\n, srchGroupIdTo = " + this.srchGroupIdTo
			+ "\n, srchMenuIdFr = " + this.srchMenuIdFr
			+ "\n, srchMenuIdTo = " + this.srchMenuIdTo
			+ "\n, srchObjectIdFr = " + this.srchObjectIdFr
			+ "\n, srchObjectIdTo = " + this.srchObjectIdTo
			+ "\n, srchLangCodeFr = " + this.srchLangCodeFr
			+ "\n, srchLangCodeTo = " + this.srchLangCodeTo + "}\n";

		String colStr = "COL: {srchObjectNameFr = " + this.srchObjectNameFr
			+ "\n, srchObjectNameTo = " + this.srchObjectNameTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchStatus = " + this.srchStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchStatus() {
		return this.srchStatus;
	}

	public String getSrchGroupIdFr() {
		return this.srchGroupIdFr;
	}

	public String getSrchGroupIdTo() {
		return this.srchGroupIdTo;
	}

	public String getSrchMenuIdFr() {
		return this.srchMenuIdFr;
	}

	public String getSrchMenuIdTo() {
		return this.srchMenuIdTo;
	}

	public String getSrchObjectIdFr() {
		return this.srchObjectIdFr;
	}

	public String getSrchObjectIdTo() {
		return this.srchObjectIdTo;
	}

	public String getSrchLangCodeFr() {
		return this.srchLangCodeFr;
	}

	public String getSrchLangCodeTo() {
		return this.srchLangCodeTo;
	}

	public String getSrchObjectNameFr() {
		return this.srchObjectNameFr;
	}

	public String getSrchObjectNameTo() {
		return this.srchObjectNameTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchStatus(String srchStatus) {
		this.srchStatus = srchStatus;
	}

	public void setSrchGroupIdFr(String srchGroupIdFr) {
		this.srchGroupIdFr = srchGroupIdFr;
	}

	public void setSrchGroupIdTo(String srchGroupIdTo) {
		this.srchGroupIdTo = srchGroupIdTo;
	}

	public void setSrchMenuIdFr(String srchMenuIdFr) {
		this.srchMenuIdFr = srchMenuIdFr;
	}

	public void setSrchMenuIdTo(String srchMenuIdTo) {
		this.srchMenuIdTo = srchMenuIdTo;
	}

	public void setSrchObjectIdFr(String srchObjectIdFr) {
		this.srchObjectIdFr = srchObjectIdFr;
	}

	public void setSrchObjectIdTo(String srchObjectIdTo) {
		this.srchObjectIdTo = srchObjectIdTo;
	}

	public void setSrchLangCodeFr(String srchLangCodeFr) {
		this.srchLangCodeFr = srchLangCodeFr;
	}

	public void setSrchLangCodeTo(String srchLangCodeTo) {
		this.srchLangCodeTo = srchLangCodeTo;
	}

	public void setSrchObjectNameFr(String srchObjectNameFr) {
		this.srchObjectNameFr = srchObjectNameFr;
	}

	public void setSrchObjectNameTo(String srchObjectNameTo) {
		this.srchObjectNameTo = srchObjectNameTo;
	}

	public String getSrchObjectTypeFr() {
		return srchObjectTypeFr;
	}

	public void setSrchObjectTypeFr(String srchObjectTypeFr) {
		this.srchObjectTypeFr = srchObjectTypeFr;
	}

	public String getSrchObjectTypeTo() {
		return srchObjectTypeTo;
	}

	public void setSrchObjectTypeTo(String srchObjectTypeTo) {
		this.srchObjectTypeTo = srchObjectTypeTo;
	}

	public String getSrchObjectWebLabelFr() {
		return srchObjectWebLabelFr;
	}

	public void setSrchObjectWebLabelFr(String srchObjectWebLabelFr) {
		this.srchObjectWebLabelFr = srchObjectWebLabelFr;
	}

	public String getSrchObjectWebLabelTo() {
		return srchObjectWebLabelTo;
	}

	public void setSrchObjectWebLabelTo(String srchObjectWebLabelTo) {
		this.srchObjectWebLabelTo = srchObjectWebLabelTo;
	}

}
